package com.venus.dto;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class TrackDto {
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;//结束日期

    @Override
    public String toString() {
        return super.toString() + " TrackDto [endTime=" + endTime  + "]";
    }

    public TrackDto(Date endTime) {
        this.endTime = endTime;
    }

    public TrackDto() {
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

}
